import React from "react";
import { HomeOutlined, InsertRowAboveOutlined, SettingOutlined, AppstoreOutlined, VideoCameraOutlined, SolutionOutlined, BlockOutlined, DollarOutlined, UserSwitchOutlined, TeamOutlined } from '@ant-design/icons';

const iconMap = {
  HomeOutlined: <HomeOutlined />,
  InsertRowAboveOutlined: <InsertRowAboveOutlined />,
  SettingOutlined: <SettingOutlined />,
  VideoCameraOutlined: <VideoCameraOutlined />,
  SolutionOutlined: <SolutionOutlined />,
  BlockOutlined: <BlockOutlined />,
  DollarOutlined: <DollarOutlined />,
  UserSwitchOutlined: <UserSwitchOutlined />,
  TeamOutlined: <TeamOutlined />,
};
export default iconname => iconMap[iconname] || <AppstoreOutlined />